﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsList_Small.ascx.cs"
    Inherits="Control_NewsList_Small" %>
<div style="text-align: center">
    <asp:Label ID="LB_NewsList_Small" runat="server" Font-Bold="True" Font-Size="Small"
        ForeColor="Red"></asp:Label>
    <asp:Repeater ID="RPT_NewList1" runat="server">
        <ItemTemplate>
            <table width="100%" height="98" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="67%" style="padding-right: 10">
                                    <a href="NewsInfo.aspx?NewsID=<%# Eval("News_ID") %>" title="<%# FormatNewsTitle(Eval("News_Title")) %>"
                                        class="link">
                                        <%# FormatNewsTitle(Eval("News_Title")) %>
                                    </a>
                                </td>
                                <td width="33%" rowspan="2" align="center" valign="middle">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%# Convert.ToDateTime(Eval("News_DateTime").ToString()).ToShortDateString()%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:Repeater>
</div>
